package com.mapstruct.domain.mapper;

import com.mapstruct.domain.SourceC;
import com.mapstruct.domain.TargetC;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

@Mapper
public interface S2TMapper {
    S2TMapper S_2_T_MAPPER = Mappers.getMapper(S2TMapper.class);

    @Mapping(source = "sourceKey",target = "targetKey")
    @Mapping(source = "sourceFlag",target = "targetFlag")
    TargetC s2t(SourceC sourceC);
}
